//
//  ChangePwdTableViewCell.m
//  Kids
//
//  Created by SZH on 14/11/28.
//  Copyright (c) 2014年 90's Technology Co.Ltd. All rights reserved.
//

#import "ChangePwdTableViewCell.h"

@implementation ChangePwdTableViewCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        self.name = [[UILabel alloc]initWithFrame:CGRectMake(20, 0, 100, 40)];
        self.name.font = [UIFont systemFontOfSize:14.0];
        self.value = [[UITextField alloc]initWithFrame:CGRectMake(130, 0, 180, 40)];
        self.value.font = [UIFont systemFontOfSize:14.0];
        self.value.textAlignment = NSTextAlignmentRight;
        
        [self addSubview:self.name];
        [self addSubview:self.value];
    }
    return self;
}
- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
